<template>
  <div>
    提交成功<br />
    <van-button
      block
      type="info"
      @click="gotolist()"
    >关闭</van-button>

  </div>
</template>

<script>
export default {
  methods: {
    gotolist () {
      var userAgent = navigator.userAgent;
      if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") != -1) {
        window.location.href = "about:blank";
      } else if (userAgent.indexOf('Android') > -1 || userAgent.indexOf('Linux') > -1) {
        window.opener = null; window.open('about:blank', '_self', '').close();
      } else {
        window.opener = null;
        window.open("about:blank", "_self");
        window.close();
      }
    }
  }
}
</script>

<style>
</style>